package com.canaan.business.domain.agv;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.canaan.common.annotation.Excel;
import com.canaan.common.annotation.TableName;
import com.canaan.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * rcs调用记录对象 wcs_agv_rcs_record
 *
 * @author 
 * @date 2023-03-02
 */
@ApiModel(description = "wcs_agv_rcs_record")
@TableName("wcs_agv_rcs_record")
public class AgvRcsRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 发送方 */
    @Excel(name = "发送方")
    @ApiModelProperty("发送方")
    private String send;

    /** 接收方 */
    @Excel(name = "接收方")
    @ApiModelProperty("接收方")
    private String receive;

    /** task编码 */
    @Excel(name = "task编码")
    @ApiModelProperty("task编码")
    private String taskCode;

    /** 方法名 */
    @Excel(name = "方法名")
    @ApiModelProperty("方法名")
    private String method;

    /** 参数 */
    @Excel(name = "参数")
    @ApiModelProperty("参数")
    private String param;

    /** agv路径 */
    @Excel(name = "agv路径")
    @ApiModelProperty("agv路径")
    private String agvUrl;

    /** agv调用状态 SUCCESS:成功；FAIL：失败 */
    @Excel(name = "agv调用状态 SUCCESS:成功；FAIL：失败")
    @ApiModelProperty("agv调用状态 SUCCESS:成功；FAIL：失败")
    private String status;

    /** 返回值 */
    @Excel(name = "返回值")
    @ApiModelProperty("返回值")
    private String response;

    /** .... */
    @Excel(name = "....")
    @ApiModelProperty("....")
    private String errorMsg;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private Long sort;

    /** 版本 */
    @Excel(name = "版本")
    @ApiModelProperty("版本")
    private Long version;

    /** 是否删除 */
    @ApiModelProperty("版本")
    private Integer delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSend(String send)
    {
        this.send = send;
    }

    public String getSend()
    {
        return send;
    }
    public void setReceive(String receive)
    {
        this.receive = receive;
    }

    public String getReceive()
    {
        return receive;
    }
    public void setTaskCode(String taskCode)
    {
        this.taskCode = taskCode;
    }

    public String getTaskCode()
    {
        return taskCode;
    }
    public void setMethod(String method)
    {
        this.method = method;
    }

    public String getMethod()
    {
        return method;
    }
    public void setParam(String param)
    {
        this.param = param;
    }

    public String getParam()
    {
        return param;
    }
    public void setAgvUrl(String agvUrl)
    {
        this.agvUrl = agvUrl;
    }

    public String getAgvUrl()
    {
        return agvUrl;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setResponse(String response)
    {
        this.response = response;
    }

    public String getResponse()
    {
        return response;
    }
    public void setErrorMsg(String errorMsg)
    {
        this.errorMsg = errorMsg;
    }

    public String getErrorMsg()
    {
        return errorMsg;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setVersion(Long version)
    {
        this.version = version;
    }

    public Long getVersion()
    {
        return version;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("send", getSend())
            .append("receive", getReceive())
            .append("taskCode", getTaskCode())
            .append("method", getMethod())
            .append("param", getParam())
            .append("agvUrl", getAgvUrl())
            .append("status", getStatus())
            .append("response", getResponse())
            .append("errorMsg", getErrorMsg())
            .append("sort", getSort())
            .append("version", getVersion())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .toString();
    }
}
